<!-- BEGIN main --><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="author" content="All: Ondrej Rafaj" />
<meta name="copyright" content="webgurucms.com" />
<link rel="shortcut icon" href="{TEMPLATE}favicon.ico" type="image/x-icon" />
<link href="{TEMPLATE}css/styles.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="{ADMINROOT}thirdparty/jquery/jquery.js"></script>
<script type="text/javascript" src="{ADMINROOT}js/functions.js"></script>
<script type="text/javascript" src="{TEMPLATE}js/functions.js"></script>
<script type="text/javascript" src="{TEMPLATE}js/popups.js"></script>
<script type="text/javascript" src="{TEMPLATE}js/jquery.dimensions.js"></script>
<script type="text/javascript" src="{TEMPLATE}js/jquery.accordion.js"></script>
<script type="text/javascript" src="{TEMPLATE}js/sliders.js"></script>
<script type="text/javascript" src="{TEMPLATE}js/tablesorter.js"></script>
{EDITOR}
<title>WebGuru CMS 3 - {TITLE}</title>
{HEAD}
</head>
<body>

<div id="container">
	<div id="header">
		<h1><a href="{ADMINROOT}"><span>WebGuru3</span> CMS</a></h1>
        <a href="?logout" id="logout">{wLOGOUT}</a>
	</div>
	<div id="leftbar">
		<h3>{WEBNAME}</h3>
		<div class="box">
			<p id="logo-time"><span id="acttime"></span></p>
			<p id="logo-date"><span id="actdate"></span></p>
			<p id="logo-login">
				{wLOGGEDUSR}<br />
				<span><a href="javascript: showLogin();">{NAME} {SURNAME}</a></span><br />
				<span class="small">{TEAM}</span>
			</p>
			<p id="logo-profile">
				<a href="{ADMINROOT}">Home page</a> | <a href="?part=system&amp;mod=configuration&amp;page=profile">User profile</a>
				<br />
				
			</p>
		</div>
        <ul class="drawers">
            <li class="drawer">
	            <h3 class="drawer-handle">{wGENERATE}</h3>
                <form action="" method="post" class="box" id="generateform">
                    <p>
                        <input name="act" type="hidden" value="generate" />
                        <input name="params" type="hidden" value="" />
                        <button name="generateweb" type="submit" onclick="return generateWeb();"><span>{wGENERATE}</span></button>
                    </p>
                </form>
            </li>
            <li class="drawer">
	            <h3 class="drawer-handle">{wMODULES}</h3>
               	<div class="box">{MODULES}</div>
            </li>
            <li class="drawer">
	            <h3 class="drawer-handle open">{wFUNCTIONS}</h3>
               	<div class="box">{FUNCTIONS}</div>
            </li>
            <li class="drawer">
	            <h3 class="drawer-handle">{wDEBUGGER}</h3>
                <div class="box">
                    <div>
                        <a href="#" class="simple_popup">{wQUERIES}</a>
                        <div class="simple_popup_info">{DQUERIES}</div>
                    </div>
                    <div>
                        <a href="#" class="simple_popup">{wTRANSLATIONS}</a>
                        <div class="simple_popup_info">{DTRANSLATIONS}</div>
                    </div>
                    <div>
                        <a href="#" class="simple_popup">{wHELP}</a>
                        <div class="simple_popup_info">{HELP}</div>
                    </div>
                    <p><span>{wSELECTS}:</span> {DSELECTS}</p>
                    <p><span>{wUPDATES}:</span> {DUPDATES}</p>
                    <p><span>{wDELETES}:</span> {DDELETES}</p>
                    <p><span>{wINSERTS}:</span> {DINSERTS}</p>
                    <p><span>{wSPECIALS}:</span> {DSPECIAL}</p>
                    <p><span>{wTOTALQ}:</span> {DTOTAL}</p>
                    <p><span>{wTOTALT}:</span> {DTIME}</p>
                </div>
            </li>
            <li class="drawer">
                <h3 class="drawer-handle">{wMODULEINFO}</h3>
                <div class="box">
                    <p><span>{wMODNAME}:</span> {DMODNAME}</p>
                    <p><span>{wMODVER}:</span> {DMODVER}</p>
                    <p><span>{wMODSIZE}:</span> {DMODSIZE}</p>
                    <p><span>{wPATH}:</span> {DMODPATH}</p>
                </div>
            </li>
        </ul>
	</div>
	<div id="contpage">
		<div id="navigation">
			{MENU}
		</div>
		<p id="breadcrumbs">{BREADCRUMBS}</p>
		<div id="errors">{ERRORS}</div>
        <h3 id="pagetitle">Page title</h3>
		<div id="content">{CONTENT}</div>
	</div>
 	<div id="footer">
    	<a href="http://www.webgurucms.com/">WebGuruCMS.com</a> | &copy;2008 <a href="http://www.ondrej-rafaj.co.uk/">Ondrej Rafaj</a>
	</div>
	<div id="leftsidebar">
    	<p class="clickbar" onclick="switchLeftBar();"><span>Leftbar</span></p>
		<div id="leftcontent">
		</div>
	</div>
	<div id="rightsidebar">
    	<p class="clickbar" onclick="switchRightBar();"><span>Rightbar</span></p>
		{HELPER}
	</div>
</div>
<script type="text/javascript">
var wgtrows = $('tbody tr');
for (var i = wgtrows.length - 1; i >= 0; i--){
	wgtrows[i].onmouseover = function() {
		this.className = 'mouseover';
	}
	wgtrows[i].onmouseout = function() {
		this.className = '';
	}
}
 $('table').tablesorter();
</script>
</body>
</html>
<!-- END main -->